package org.example.lanhang.service.impl;

import org.example.lanhang.entity.User;
import org.example.lanhang.mapper.userMapper;
import org.example.lanhang.service.userService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class userServiceimpl implements userService {

    @Autowired
    private userMapper usermapper;

  @Override
    public List<User>findall(){
    return usermapper.findall();
}

}
